@page "/pet-detail/{id:int}"

<PageTitle>Pet Detail</PageTitle>

<h1>Pet Detail Record</h1>

<p>Pet ID: @Id</p>

<p><a href="@ReturnUrl">Return</a></p>

@code {
    [Parameter]
    public int Id { get; set; }

    [SupplyParameterFromQuery]
    private string? ReturnUrl { get; set; }
}
